/*
 * @Author: chentao 
 * @Date: 2022-05-13 14:10:21 
 * @Last Modified by: chentao
 * @Last Modified time: 2022-05-13 14:13:53
 */
//5.12.9　构造函数类型字面量
const date = new Date();
console.log(`${date}`) //Fri May 13 2022 14:10:54 GMT+0800 (GMT+08:00)
console.log(`${date.getTime()}`) //时间戳

const error = new Error("error_message");
console.log(error)